<?php

$id=$_GET['id'];

include '../Classes/scheduleHandler.php';
include '../Classes/db.php';

$x=new DbConnect();
$con=$x->getConnection();

$scheddel=new ScheduleHandler();//create a new object
$scheddel->setConnect($con);
$del=$scheddel->getDelete($id);
echo $del;

?>